package com.acme.task2;

public class Foo {
	private int iterationNum;
	
	@SuppressWarnings("unused")
	private long[] ballast;

	public Foo(int iterationNum, boolean enableBallast) {
		this.iterationNum = iterationNum;
		if (enableBallast) {
			this.ballast = new long[1024];
		}
	}

	protected void finalize() throws Throwable {
		System.out.println(this.iterationNum);
	}
}
